package com.wu.pojo.response.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Set;

@ApiModel
@Data
public class LoginResponse implements Serializable {

    private static final long serialVersionUID = 8037455167228095132L;
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "权限")
    private Set<String> resources;

    @ApiModelProperty(value = "头像")
    private String portrait;

    @ApiModelProperty(value = "账号类型 0普通账号 1管理员")
    private Integer type;

    @ApiModelProperty(value = "部门id")
    private Long departmentId;

}
